package com.xiaoma.tpo.dao;

import org.springframework.stereotype.Repository;

import com.xiaoma.tpo.baseDao.BaseDaoImpl;
import com.xiaoma.tpo.domain.TUserRole;

@Repository
public class TUserRoleDao extends BaseDaoImpl<TUserRole>{

	public void delete(Integer userId) {
		String sql = "delete from t_user_role where user_id = "+userId;
		jdbcTemplate.execute(sql);
		
	}
	
}
